/**
  ETFRoot project, Anyang Normal University && IMP-CAS
  \class ETFAnaLTask
  \brief user class for tasks in the tracking stage
  \author SUN Yazhou, asia.rabbit@163.com
  \since 2022-04-26
  \date 2022-04-27 last modified
  \attention
  changelog
  <table>
  <tr>  <th>Date         <th>Author      <th>Description                    </tr>
  <tr>  <td>2022-04-26   <td>Asia Sun    <td>file created                   </tr>
  </table>

  \copyright Copyright (c) 2021 Anyang Normal U. && IMP-CAS with LGPLv3 LICENSE
*/

#include <TFolder.h>
#include "ETFAnaLTask.h"
#include "ETFTaTrackManager.h"
#include "ETFMsg.h"

ClassImp(ETFAnaLTask);

ETFAnaLTask::ETFAnaLTask(const char *name, int verbose) : ETFAnaTask(name, verbose){}

ETFAnaLTask::~ETFAnaLTask(){}

void ETFAnaLTask::Configure(){
  ftm = ETFTaTrackManager::Instance();
} // end member function Configure

void ETFAnaLTask::Exec(Option_t *opt){
  if(fAnaLevel >= 2) ETFMsg::Error("ETFAnaLTask", "Exec: fAnaLevel=%d: there's no pid task.", fAnaLevel);
  ETFAnaTask::Exec(opt);
} // end member function Exec

void ETFAnaLTask::CreateHistos(){
  ETFAnaTask::CreateHistos();
  fFolder->SetName("AnaLTask");
} // end member function CreateHistos
